<?php
namespace app\hongyanche\controller;
class Logout{
	function index(){
        session('user',null);
        cookie('auto', null);
        $ret = ['state' => 1];
        return json($ret);
	}
}